import axios from '@/src/utils/uni-fetch.js';
//登陆接口
export const iosLogin = (data) => axios.post('/user/iosapplogin/', data);
export const wxminilogin = (data) => axios.post('/user/wxminilogin/', data);
export const zhiminilogin = (data) => axios.post('/user/zhiminilogin/', data);
export const WxAppLogin = (data) => axios.post('/user/WxAppLogin/', data);
export const qqminilogin = (data) => axios.post('/user/QQLogin/', data);

//通用接口
export const getkefuurl = (data) => axios.get('/common/getkefuurl/', data);
export const get_common_link = (data) => axios.get('/common/get_common_link/', data);
export const gethuanlianprice = (data) => axios.get('/huanlian/gethuanlianprice/', data);
export const gethuanlianprice2 = (data) => axios.post('/huanlian/gethuanlianprice/', data);
export const dui_huan_ma = (data) => axios.get('/huanlian/dui_huan_ma/', data);
export const get_app_pid = (data) => axios.get('/huanlian/get_app_pid/', data);
export const get_privacy = (data) => axios.get('/common/get_privacy/', data);
export const get_serviceAgreement = (data) => axios.get('/common/get_serviceAgreement/', data);
export const get_app_config = (data) => axios.get('/common/get_app_config/', data);
export const reward_user_look_ad = (data) => axios.post('/huanlian/reward_user_look_ad/', data);
export const check_in = (data) => axios.post('/huanlian/check_in/', data);

export const query_user_data_admin = (data) => axios.get('/huanlian/AdminUserView/', data);
export const change_user_data_admin = (data) => axios.post('/huanlian/AdminUserView/', data);


//支付接口
export const iospay = (data) => axios.post('/pay/huanlianiospay/', data);
export const huanlianwxminipay = (data) => axios.post('/pay/huanlianwxminipay/', data);
export const huanlianaliminipay = (data) => axios.post('/pay/huanlianaliminipay/', data);
// export const get_pay_product = (data) => axios.post('/huanlian/get_pay_product/', data);
export const PayProduct = (data) => axios.post('/huanlian/PayProduct/', data);

//图片融合
export const imageronghe = (data) => axios.post('/huanlian/imageronghe/', data, true, false);
export const get_image_muban_cate = (data) => axios.get('/huanlian/get_image_muban_cate/', data);
export const get_image_muban_list = (data) => axios.post('/huanlian/get_image_muban_list/', data);
//视频融合
export const get_video_muban_cate = (data) => axios.get('/huanlian/get_video_muban_cate/', data);
export const get_video_muban_list = (data) => axios.post('/huanlian/get_video_muban_list/', data);
export const videoronghe = (data) => axios.post('/huanlian/videoronghe/', data, true, false);
export const get_job_list = (data) => axios.post('/huanlian/get_job_list/', data);
export const delete_job = (data) => axios.post('/huanlian/delete_job/', data);

// 其他功能
export const dongmanhua = (data) => axios.post('/huanlian/dongmanhua/', data,true, false);
export const renlianage = (data) => axios.post('/huanlian/renlianage/', data,true, false);
export const renliansex = (data) => axios.post('/huanlian/renliansex/', data,true, false);
export const renlianmeiyan = (data) => axios.post('/huanlian/renlianmeiyan/', data,true, false);
export const EnhanceImage = (data) => axios.post('/huanlian/EnhanceImage/', data,true, false);
export const OldImage = (data) => axios.post('/huanlian/OldImage/', data,true, false);
export const ImageStyle = (data) => axios.post('/huanlian/ImageStyle/', data,true, false);

export const TextImage = (data) => axios.post('/huanlian/TextImage/', data,true, false);
export const ImageToImage = (data) => axios.post('/huanlian/ImageToImage/', data,true, false);

export const TextToVideo = (data) => axios.post('/huanlian/TextToVideo/', data,true, false);
export const ImageToVideo = (data) => axios.post('/huanlian/ImageToVideo/', data,true, false);


//去水印
export const imageQuShuiYin = (data) => axios.post('/huanlian/ImageQuShuiYin/', data,true, false);
export const quShuiYinQuery = (data) => axios.post('/huanlian/QuShuiYinQuery/', data,true, false);
// export const getSuanmingDetail = (data) => axios.get('/bz/suanming/', data);
//大模型功能
export const VideoStyle = (data) => axios.post('/huanlian/VideoStyle/', data,true, false);
export const ImageAnimate = (data) => axios.post('/huanlian/ImageAnimate/', data,true, false);
//代理
export const get_daili = (data) => axios.get('/huanlian/get_daili/', data,true, false);
export const get_daili2 = (data) => axios.post('/huanlian/get_daili/', data,true, false);
export const get_daili_xiaji_list = (data) => axios.post('/huanlian/get_daili_xiaji_list/', data,true, false);
export const get_daili_xiaji_pay_list = (data) => axios.post('/huanlian/get_daili_xiaji_pay_list/', data,true, false);
export const daili_price = (data) => axios.get('/huanlian/daili_price/', data,true, false);
export const daili_price2 = (data) => axios.post('/huanlian/daili_price/', data,true, false);

